<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" class="x-admin-sm">
<head>
    <meta charset="UTF-8">
    <title>我的密码</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
    <link rel="stylesheet" th:href="@{/blog/amaze/css/base.css}">
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}">
    <script type="text/javascript" th:src="@{/layui/layui.js}" charset="utf-8"></script>
    <style>
        .tag {
            color: #008 !important;
        }
    </style>

</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="tags">
            <th:block th:each="owner : ${owners}">
                <a class="tag" rel="tag" th:href="@{'/admin/v1/mypwd?owner=' + ${owner}}">
                    <th:block th:text="${owner}"></th:block>
                </a>&nbsp;
            </th:block>
        </div>
        <div class="layui-col-md12">
            <th:block th:if="${null != data&&data.size()>0}">
                <th:block th:each="pwd,iterStat : ${data}">
                    <article class="am-g blog-entry-article">
                        <div class="am-u-lg-6 am-u-lg-12 am-u-sm-12 blog-entry-text post-preview">
                            <h1 class="post-index-title">
                                <th:block th:text="${pwd.desc}">no</th:block>-<th:block th:text="${pwd.belonging}">no</th:block>
                            </h1>
                            <div class="abstract vditor-reset">
                                <p th:if="'0' eq ${pwd.limit}" th:text="${pwd.val}"></p>
                                <script type="text/javascript" th:inline="none">
                                    layui.use('layer', function(){
                                        var layer = layui.layer;
                                    });
                                </script>
                                <p  th:if="'1' eq ${pwd.limit}" th:onclick="layer.alert([[${pwd.val}]], {icon: 6});">点击查看</p>
                            </div>
                        </div>
                    </article>
                </th:block>
            </th:block>
        </div>
    </div>
</div>

</body>
</html>